package com.cysyz.mylib.jpadao;

import com.cysyz.mylib.dao.impl.BaseDaoImpl;

/**
 * @File name : JpaBaseDaoImpl
 * @Description :
 * @Creator : cuiyong
 * @CreateTime : 16/9/28 16:58
 * @Version : 1.0
 * @Update records:
 * 1.0 16/9/28 by cuiyong: Created
 * All rights served : SINA Corporation
 */
public class JpaBaseDaoImpl extends BaseDaoImpl {


    public <T> CriteriaQueryJPA<T> getCriteriaQuery(Class<T> clazz) {
        return ((PersistenceEngineJPA) getPersistenceEngine()).getCriteriaQuery(clazz);
    }



}
